<template>
  <div id="register">
    <el-tabs v-model="active" type="card" class="min-height">
      <el-tab-pane label="新增登记" name="first">
        <addReg></addReg>
      </el-tab-pane>
      <el-tab-pane label="登记历史" name="second">
        <history></history>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
  import addReg from './addReg'
  import history from './history'

  export default {
    name: "register",
    data() {
      return {
        active: 'first'
      }
    },
    components:{
      addReg,
      history
    }
  }
</script>

<style scoped>

</style>
